!function($){
    var imgList={
        icon:'icon-uipiclist',
        lable:'图片列表',
        type:'imgList',
        column:3,
        template:'<div class="commons-imgList commons">'+
                '{{#each data }}'+
                '<div style="width:{{getFloatWidth ../column}}%;height:{{getImgHeightForImgList ../data.length ../column ../cssStyle.height}}" class="item">'+
                '<img  src="{{imgUrl}}">'+
                '<span class="title">{{title}}</span>'+
                '</div>'+
                '{{/each}}'+
                '</div>',
        data:[
            {imgUrl:'http://i02.pictn.sogoucdn.com/9e6f1d432aaa9aab',title:'图片一'},
            {imgUrl:'http://i02.pictn.sogoucdn.com/30a2e0e0da6f35a0',title:'图片二'},
            {imgUrl:'http://img.19yxw.com/wy/update/2015818/201581812562060364.jpg',title:'图片三'},
            {imgUrl:'http://i01.pic.sogou.com/0f3689382065243d',title:'图片四'},
            {imgUrl:'http://i01.pictn.sogoucdn.com/9c760130c16601d3',title:'图片五'},
            {imgUrl:'http://i01.pictn.sogoucdn.com/9c760130c16601d3',title:'图片六'}
            ],
        cssStyle:{
            color:'white',
            'font-size':'14px',
            'background-color':'white',
            'border-radius': '0px',
            height:'200px'
        }
    };
    $.common.commons.baseCommons.addItem(imgList);
}(window.jQuery);

